home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 5 / BBS in a Box -Volume V (BBS in a Box) (April 1992).iso / Files / Hyper / Ap-Az / AstroStack1.1.cpt / AstroStack 1.1 / card_7451.txt < prev    next >
Encoding:
Text File  |  1988-04-24  |  8.8 KB  |  440 lines

  1. -- card: 7451 from stack: in.1
  2. -- bmap block id: 6988
  3. -- flags: 0000
  4. -- background id: 2632
  5. -- name: 
  6. ----- HyperTalk script -----
  7. on openCard
  8.   show card button id 6
  9.   hide card button id 21
  10.   hide card field id 15
  11.   hide card field id 17
  12.   hide card field id 16
  13.   hide card button ID 7
  14.   hide card field id 9
  15.   hide card field id 22
  16. end openCard
  17.  
  18.  
  19.  
  20.  
  21. -- part 1 (field)
  22. -- low flags: 00
  23. -- high flags: 0002
  24. -- rect: left=35 top=157 right=174 bottom=206
  25. -- title width / last selected line: 0
  26. -- icon id / first selected line: 0 / 0
  27. -- text alignment: 0
  28. -- font id: 3
  29. -- text size: 12
  30. -- style flags: 0
  31. -- line height: 16
  32. -- part name: 
  33.  
  34.  
  35. -- part 2 (field)
  36. -- low flags: 00
  37. -- high flags: 0002
  38. -- rect: left=211 top=158 right=175 bottom=236
  39. -- title width / last selected line: 0
  40. -- icon id / first selected line: 0 / 0
  41. -- text alignment: 0
  42. -- font id: 3
  43. -- text size: 12
  44. -- style flags: 0
  45. -- line height: 16
  46. -- part name: 
  47.  
  48.  
  49. -- part 3 (field)
  50. -- low flags: 00
  51. -- high flags: 0002
  52. -- rect: left=36 top=212 right=229 bottom=207
  53. -- title width / last selected line: 0
  54. -- icon id / first selected line: 0 / 0
  55. -- text alignment: 0
  56. -- font id: 3
  57. -- text size: 12
  58. -- style flags: 0
  59. -- line height: 16
  60. -- part name: 
  61.  
  62.  
  63. -- part 4 (field)
  64. -- low flags: 00
  65. -- high flags: 0002
  66. -- rect: left=214 top=212 right=229 bottom=239
  67. -- title width / last selected line: 0
  68. -- icon id / first selected line: 0 / 0
  69. -- text alignment: 0
  70. -- font id: 3
  71. -- text size: 12
  72. -- style flags: 0
  73. -- line height: 16
  74. -- part name: 
  75.  
  76.  
  77. -- part 5 (field)
  78. -- low flags: 00
  79. -- high flags: 0002
  80. -- rect: left=247 top=212 right=229 bottom=272
  81. -- title width / last selected line: 0
  82. -- icon id / first selected line: 0 / 0
  83. -- text alignment: 0
  84. -- font id: 3
  85. -- text size: 12
  86. -- style flags: 0
  87. -- line height: 16
  88. -- part name: 
  89.  
  90.  
  91. -- part 6 (button)
  92. -- low flags: 00
  93. -- high flags: A003
  94. -- rect: left=260 top=254 right=276 bottom=360
  95. -- title width / last selected line: 0
  96. -- icon id / first selected line: 0 / 0
  97. -- text alignment: 1
  98. -- font id: 0
  99. -- text size: 12
  100. -- style flags: 0
  101. -- line height: 16
  102. -- part name: Open Speller
  103. ----- HyperTalk script -----
  104. on mouseUp
  105.   show card field ID 9
  106.   show card button ID 7
  107.   hide card button ID 6
  108. end mouseUp
  109.  
  110.  
  111.  
  112. -- part 7 (button)
  113. -- low flags: 80
  114. -- high flags: A003
  115. -- rect: left=260 top=254 right=276 bottom=360
  116. -- title width / last selected line: 0
  117. -- icon id / first selected line: 0 / 0
  118. -- text alignment: 1
  119. -- font id: 0
  120. -- text size: 12
  121. -- style flags: 0
  122. -- line height: 16
  123. -- part name: Close Speller
  124. ----- HyperTalk script -----
  125. on mouseUp
  126.   hide card field ID 9
  127.   show card button ID 6
  128.   hide card button ID 7
  129. end mouseUp
  130.  
  131.  
  132.  
  133. -- part 8 (button)
  134. -- low flags: 00
  135. -- high flags: A003
  136. -- rect: left=199 top=309 right=331 bottom=299
  137. -- title width / last selected line: 0
  138. -- icon id / first selected line: 0 / 0
  139. -- text alignment: 1
  140. -- font id: 0
  141. -- text size: 12
  142. -- style flags: 0
  143. -- line height: 16
  144. -- part name: Continue
  145. ----- HyperTalk script -----
  146. on mouseUp
  147.   global midA,midB,AscendA,AscendB,AscendC,latitude,siderealBirth
  148.   if card field Id 1 is not in card field id 9
  149.   then
  150.   beep
  151.   answer "Please check the spelling of the Mid-Heaven"
  152.   exit mouseUp
  153. end if
  154. if card field id 1 is not in card field id 22
  155. then
  156. beep
  157. answer "Please delete ‚Äú¬∂‚Äù at the end of Mid-Heaven"
  158. exit mouseUp
  159. end if
  160. if card field id 3 is not in card field id 9
  161. then
  162. beep
  163. answer "Please check the spelling of the Ascendant"
  164. exit mouseUp
  165. end if
  166. if card field id 3 is not in card field id 22
  167. then
  168. beep
  169. answer "Please delete ‚Äú¬∂‚Äù at the end of Ascendant"
  170. exit mouseUP
  171. end if
  172.  
  173. put card field ID 1 into MidA
  174. put card field ID 2 into MidB
  175. put card field Id 3 into AscendA
  176. put card field id 4 into AscendB
  177. put card field id 5 into AscendC
  178. put 0 into x
  179. repeat 6
  180.   if x = 200 then exit repeat
  181.   if AscendA is line (x +1) of card field id 9 and 1 + x < 7 then
  182.     put line (x+7) of card field ID 9 into AscendA
  183.     put 200 into x
  184.   else add 1 to x
  185. end repeat
  186. repeat 6
  187.   if x=200 then exit repeat
  188.   if AscendA is line (x +1) of card field id 9 then
  189.     put line (x-5) of card field ID 9 into AscendA
  190.     put 200 into x
  191.     exit repeat
  192.   else add 1 to x
  193. end repeat
  194. put 0 into x
  195. repeat 6
  196.   if x = 200 then exit repeat
  197.   if midA is line (x +1) of card field id 9 and 1 + x < 7 then
  198.     put line (x+7) of card field ID 9 into midA
  199.   else add 1 to x
  200. end repeat
  201. repeat 6
  202.   if x=200 then exit repeat
  203.   if midA is line (x +1) of card field id 9 then
  204.     put line (x-5) of card field ID 9 into midA
  205.     put 200 into x
  206.     exit repeat
  207.   else add 1 to x
  208. end repeat
  209. put midA && midB &"¬∞." into card field id 16
  210. put ascendA && ascendB &"¬∞ "& ascendC &"'." into card field id 17
  211. show card field id 15
  212. show card field id 16
  213. show card field id 17
  214. show card button id 21
  215. end mouseUp
  216.  
  217.  
  218.  
  219. -- part 9 (field)
  220. -- low flags: 81
  221. -- high flags: 2007
  222. -- rect: left=367 top=248 right=331 bottom=474
  223. -- title width / last selected line: 0
  224. -- icon id / first selected line: 0 / 0
  225. -- text alignment: 0
  226. -- font id: 0
  227. -- text size: 12
  228. -- style flags: 0
  229. -- line height: 16
  230. -- part name: 
  231.  
  232.  
  233. -- part 10 (field)
  234. -- low flags: 01
  235. -- high flags: 0000
  236. -- rect: left=301 top=72 right=90 bottom=325
  237. -- title width / last selected line: 0
  238. -- icon id / first selected line: 0 / 0
  239. -- text alignment: 1
  240. -- font id: 0
  241. -- text size: 12
  242. -- style flags: 0
  243. -- line height: 16
  244. -- part name: 
  245.  
  246.  
  247. -- part 11 (field)
  248. -- low flags: 01
  249. -- high flags: 0000
  250. -- rect: left=332 top=72 right=89 bottom=356
  251. -- title width / last selected line: 0
  252. -- icon id / first selected line: 0 / 0
  253. -- text alignment: 1
  254. -- font id: 0
  255. -- text size: 12
  256. -- style flags: 0
  257. -- line height: 16
  258. -- part name: 
  259.  
  260.  
  261. -- part 12 (field)
  262. -- low flags: 01
  263. -- high flags: 0000
  264. -- rect: left=365 top=72 right=89 bottom=390
  265. -- title width / last selected line: 0
  266. -- icon id / first selected line: 0 / 0
  267. -- text alignment: 1
  268. -- font id: 0
  269. -- text size: 12
  270. -- style flags: 0
  271. -- line height: 16
  272. -- part name: 
  273.  
  274.  
  275. -- part 13 (field)
  276. -- low flags: 01
  277. -- high flags: 0000
  278. -- rect: left=346 top=98 right=117 bottom=369
  279. -- title width / last selected line: 0
  280. -- icon id / first selected line: 0 / 0
  281. -- text alignment: 1
  282. -- font id: 0
  283. -- text size: 12
  284. -- style flags: 0
  285. -- line height: 16
  286. -- part name: 
  287.  
  288.  
  289. -- part 14 (field)
  290. -- low flags: 01
  291. -- high flags: 0000
  292. -- rect: left=376 top=99 right=117 bottom=399
  293. -- title width / last selected line: 0
  294. -- icon id / first selected line: 0 / 0
  295. -- text alignment: 1
  296. -- font id: 0
  297. -- text size: 12
  298. -- style flags: 0
  299. -- line height: 16
  300. -- part name: 
  301.  
  302.  
  303. -- part 15 (field)
  304. -- low flags: 80
  305. -- high flags: 0004
  306. -- rect: left=19 top=143 right=333 bottom=502
  307. -- title width / last selected line: 0
  308. -- icon id / first selected line: 0 / 0
  309. -- text alignment: 0
  310. -- font id: 0
  311. -- text size: 12
  312. -- style flags: 0
  313. -- line height: 16
  314. -- part name: 
  315.  
  316.  
  317. -- part 16 (field)
  318. -- low flags: 80
  319. -- high flags: 0000
  320. -- rect: left=220 top=271 right=290 bottom=401
  321. -- title width / last selected line: 0
  322. -- icon id / first selected line: 0 / 0
  323. -- text alignment: 0
  324. -- font id: 0
  325. -- text size: 12
  326. -- style flags: 0
  327. -- line height: 16
  328. -- part name: 
  329.  
  330.  
  331. -- part 17 (field)
  332. -- low flags: 80
  333. -- high flags: 0000
  334. -- rect: left=209 top=239 right=259 bottom=391
  335. -- title width / last selected line: 0
  336. -- icon id / first selected line: 0 / 0
  337. -- text alignment: 0
  338. -- font id: 0
  339. -- text size: 12
  340. -- style flags: 0
  341. -- line height: 16
  342. -- part name: 
  343.  
  344.  
  345. -- part 18 (field)
  346. -- low flags: 80
  347. -- high flags: 0000
  348. -- rect: left=352 top=255 right=274 bottom=390
  349. -- title width / last selected line: 0
  350. -- icon id / first selected line: 0 / 0
  351. -- text alignment: 0
  352. -- font id: 0
  353. -- text size: 12
  354. -- style flags: 0
  355. -- line height: 16
  356. -- part name: 
  357.  
  358.  
  359. -- part 21 (button)
  360. -- low flags: 80
  361. -- high flags: A003
  362. -- rect: left=199 top=314 right=336 bottom=299
  363. -- title width / last selected line: 0
  364. -- icon id / first selected line: 0 / 0
  365. -- text alignment: 1
  366. -- font id: 0
  367. -- text size: 12
  368. -- style flags: 0
  369. -- line height: 16
  370. -- part name: Continue
  371. ----- HyperTalk script -----
  372. on mouseUp
  373.   go to next card
  374. end mouseUp
  375.  
  376.  
  377.  
  378. -- part 22 (field)
  379. -- low flags: 80
  380. -- high flags: 0007
  381. -- rect: left=395 top=60 right=105 bottom=492
  382. -- title width / last selected line: 0
  383. -- icon id / first selected line: 0 / 0
  384. -- text alignment: 0
  385. -- font id: 3
  386. -- text size: 9
  387. -- style flags: 0
  388. -- line height: 12
  389. -- part name: 
  390.  
  391.  
  392. -- part contents for card part 9
  393. ----- text -----
  394. Aries
  395. Taurus
  396. Gemini
  397. Cancer
  398. Leo
  399. Virgo
  400. Libra
  401. Scorpio
  402. Sagittarius
  403. Capricorn
  404. Aquarius
  405. Pisces
  406.  
  407. -- part contents for card part 15
  408. ----- text -----
  409.  
  410.                                    IMPORTANT!
  411.  
  412. Because the birthplace is in the Southern Hemisphere, ASTROSTACK             has made an adjustment to the Ascendant and to the Mid-Heaven.
  413.  
  414.   The corrected Ascendant is
  415.  
  416.   The corrected Mid-Heaven is
  417.  
  418. -- part contents for card part 16
  419. ----- text -----
  420.  ¬∞.
  421.  
  422. -- part contents for card part 17
  423. ----- text -----
  424.  ¬∞ '.
  425.  
  426. -- part contents for card part 22
  427. ----- text -----
  428. Aries, X
  429. Taurus, X
  430. Gemini, X
  431. Cancer, X
  432. Leo, X
  433. Virgo, X
  434. Libra, X
  435. Scorpio, X
  436. Sagittarius, X
  437. Capricorn, X
  438. Aquarius, X
  439. Pisces, X
  440.